//
//  HNAllJSExport.h
//  shezhan
//
//  Created by admin on 16/8/25.
//  Copyright © 2016年 haoniu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <JavaScriptCore/JavaScriptCore.h>
//登录
@protocol HNLoginJSExport <JSExport>

-(void)HNLoginJSExportLoginResult:(NSNumber *)success WithUserInfo:(NSString *)data;

@end

//返回
@protocol HNPublishProductJSExport <JSExport>

-(void)HNPublishProductJSExportBack;//返回

-(NSString *)HNPublishProductJSExportReturnLoginName;//返回用户名

@end

//联系商家
@protocol HNGoodsDetailJSExport <JSExport>

-(void)HNGoodsDetailJSExportContactMerchantResult:(NSString *)merchantPhone :(NSString *)goodsJsonStr;

@end

//支付
@protocol HNAppJSExport <JSExport>

-(void)HNpayOrder:(NSString *)backGoodsDic;

@end

//设置退出
@protocol HNSettingJSExport <JSExport>

-(void)HNSettingJSExportOutLogin;//设置退出

@end


@protocol HNSettingUserImageJSExport <JSExport>
-(void)HNSettingJSExportOutChangeUserImage;//设置改变图片
@end

//在线客服
@protocol HNMyJSExport <JSExport>

-(void)HNMyJSExportOnlineService;

@end


//Mob分享
@protocol HNMobJSExport <JSExport>

-(void)HNMobJSExportShare;

@end


#pragma -mark JSExport
@interface HNAllJSExport : NSObject
//支付宝支付
+(void)AliPayOrderName:(NSString *)orderName andOrderpPice:(NSString *)orderPrice andOrderNumber:(NSString *)orderNumber andOrderDesc:(NSString *)orderDesc;

//微信支付dict
+(void)WeiXinPayOrderName:(NSString *)orderName andOrderpPice:(NSString *)orderPrice andOrderNumber:(NSString *)orderNumber;
@end


